// add vertical margins to common widget on the headerbar to avoid them spanning the whole height
entry,
spinbutton,
- separator,
+ separator:not(.sidebar),
button {
margin-top: 6px;
margin-bottom: 6px;
background: transparentize(black, 0.9);
min-width: 1px;
min-height: 1px;
-
- &.selection-mode {
- background-color: darken($selected_bg_color, 20%);
- }
}
border-style: none;
background-color: mix($bg_color, $base_color, 50%);
- @at-root %sidebar_left,
- &:dir(ltr),
- &.left,
- &.left:dir(rtl) {
- border-right: 1px solid $borders_color;
- border-left-style: none;
- }
+ &:not(separator) {
+ @at-root %sidebar_left,
+ &:dir(ltr),
+ &.left,
+ &.left:dir(rtl) {
+ border-right: 1px solid $borders_color;
+ border-left-style: none;
+ }
- @at-root %sidebar_right
- &:dir(rtl),
- &.right {
- border-left: 1px solid $borders_color;
- border-right-style: none;
+ @at-root %sidebar_right
+ &:dir(rtl),
+ &.right {
+ border-left: 1px solid $borders_color;
+ border-right-style: none;
+ }
}
&:backdrop {
}
}
+separator.sidebar {
+ background-color: $borders_color;
+
+ &:backdrop {
+ background-color: $backdrop_borders_color;
+ }
+
+ &.selection-mode,
+ .selection-mode & {
+ background-color: darken($selected_bg_color, 20%);
+ }
+}
+
/****************
* File chooser *
.solid-csd .titlebar:backdrop:dir(rtl):not(headerbar), .solid-csd .titlebar:backdrop:dir(ltr):not(headerbar), .solid-csd .titlebar:dir(rtl):not(headerbar), .solid-csd .titlebar:dir(ltr):not(headerbar), .solid-csd headerbar:backdrop:dir(rtl), .solid-csd headerbar:backdrop:dir(ltr), .solid-csd headerbar:dir(rtl), .solid-csd headerbar:dir(ltr) { margin-left: -1px; margin-right: -1px; margin-top: -1px; border-radius: 0; box-shadow: none; }
-headerbar entry, headerbar spinbutton, headerbar separator, headerbar button { margin-top: 6px; margin-bottom: 6px; }
+headerbar entry, headerbar spinbutton, headerbar separator:not(.sidebar), headerbar button { margin-top: 6px; margin-bottom: 6px; }
headerbar switch { margin-top: 9px; margin-bottom: 9px; }
separator { background: rgba(0, 0, 0, 0.1); min-width: 1px; min-height: 1px; }
-separator.selection-mode { background-color: #0f2b48; }
-
/********* Lists * */
list { color: white; background-color: #232729; border-color: #1b1f20; }
/*********** Sidebar * */
.sidebar { border-style: none; background-color: #2b3032; }
-stacksidebar.sidebar:dir(ltr) list, stacksidebar.sidebar.left list, stacksidebar.sidebar.left:dir(rtl) list, .sidebar:dir(ltr), .sidebar.left, .sidebar.left:dir(rtl) { border-right: 1px solid #1b1f20; border-left-style: none; }
+stacksidebar.sidebar:dir(ltr) list, stacksidebar.sidebar.left list, stacksidebar.sidebar.left:dir(rtl) list, .sidebar:not(separator):dir(ltr), .sidebar:not(separator).left, .sidebar:not(separator).left:dir(rtl) { border-right: 1px solid #1b1f20; border-left-style: none; }
-stacksidebar.sidebar:dir(rtl) list .sidebar:dir(rtl), stacksidebar.sidebar.right list .sidebar:dir(rtl), .sidebar.right { border-left: 1px solid #1b1f20; border-right-style: none; }
+stacksidebar.sidebar:dir(rtl) list .sidebar:not(separator):dir(rtl), stacksidebar.sidebar.right list .sidebar:not(separator):dir(rtl), .sidebar:not(separator).right { border-left: 1px solid #1b1f20; border-right-style: none; }
.sidebar:backdrop { background-color: #2c3133; border-color: #202425; transition: 200ms ease-out; }
stacksidebar row.needs-attention > label { background-size: 6px 6px, 0 0; }
+separator.sidebar { background-color: #1b1f20; }
+
+separator.sidebar:backdrop { background-color: #202425; }
+
+separator.sidebar.selection-mode, .selection-mode separator.sidebar { background-color: #0f2b48; }
+
/**************** File chooser * */
row image.sidebar-icon { opacity: 0.7; }
.solid-csd .titlebar:backdrop:dir(rtl):not(headerbar), .solid-csd .titlebar:backdrop:dir(ltr):not(headerbar), .solid-csd .titlebar:dir(rtl):not(headerbar), .solid-csd .titlebar:dir(ltr):not(headerbar), .solid-csd headerbar:backdrop:dir(rtl), .solid-csd headerbar:backdrop:dir(ltr), .solid-csd headerbar:dir(rtl), .solid-csd headerbar:dir(ltr) { margin-left: -1px; margin-right: -1px; margin-top: -1px; border-radius: 0; box-shadow: none; }
-headerbar entry, headerbar spinbutton, headerbar separator, headerbar button { margin-top: 6px; margin-bottom: 6px; }
+headerbar entry, headerbar spinbutton, headerbar separator:not(.sidebar), headerbar button { margin-top: 6px; margin-bottom: 6px; }
headerbar switch { margin-top: 9px; margin-bottom: 9px; }
separator { background: rgba(0, 0, 0, 0.1); min-width: 1px; min-height: 1px; }
-separator.selection-mode { background-color: #215d9c; }
-
/********* Lists * */
list { color: black; background-color: #ffffff; border-color: #b6b6b3; }
/*********** Sidebar * */
.sidebar { border-style: none; background-color: #f4f4f3; }
-stacksidebar.sidebar:dir(ltr) list, stacksidebar.sidebar.left list, stacksidebar.sidebar.left:dir(rtl) list, .sidebar:dir(ltr), .sidebar.left, .sidebar.left:dir(rtl) { border-right: 1px solid #b6b6b3; border-left-style: none; }
+stacksidebar.sidebar:dir(ltr) list, stacksidebar.sidebar.left list, stacksidebar.sidebar.left:dir(rtl) list, .sidebar:not(separator):dir(ltr), .sidebar:not(separator).left, .sidebar:not(separator).left:dir(rtl) { border-right: 1px solid #b6b6b3; border-left-style: none; }
-stacksidebar.sidebar:dir(rtl) list .sidebar:dir(rtl), stacksidebar.sidebar.right list .sidebar:dir(rtl), .sidebar.right { border-left: 1px solid #b6b6b3; border-right-style: none; }
+stacksidebar.sidebar:dir(rtl) list .sidebar:not(separator):dir(rtl), stacksidebar.sidebar.right list .sidebar:not(separator):dir(rtl), .sidebar:not(separator).right { border-left: 1px solid #b6b6b3; border-right-style: none; }
.sidebar:backdrop { background-color: #f2f2f2; border-color: #c0c0bd; transition: 200ms ease-out; }
stacksidebar row.needs-attention > label { background-size: 6px 6px, 0 0; }
+separator.sidebar { background-color: #b6b6b3; }
+
+separator.sidebar:backdrop { background-color: #c0c0bd; }
+
+separator.sidebar.selection-mode, .selection-mode separator.sidebar { background-color: #215d9c; }
+
/**************** File chooser * */
row image.sidebar-icon { opacity: 0.7; }